f3cce96c427982bc364b7c32a0ad9ee7dd1c0c91,app/src/main/java/de/kuschku/util/servicebound/BoundActivity.java,BoundActivity,onCreate,#Bundle#,60
Before Change
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
ServiceHelper.initTheme(context, this);
context.withSettings(new Settings(this));
context.settings().theme.addChangeListener(s -> recreate());
super.onCreate(savedInstanceState);
ServiceHelper.startServiceIfNotRunning(this);
}
After Change
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
themeId = ServiceHelper.initTheme(context, this);
super.onCreate(savedInstanceState);
context.settings().preferenceTheme.addChangeListener(s -> recreate());
ServiceHelper.startServiceIfNotRunning(this);
ServiceHelper.connectToService(this, connection);